﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FED RID: 4077
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournCurSceneInfo : IMessage<RogueTournCurSceneInfo>, IMessage, IEquatable<RogueTournCurSceneInfo>, IDeepCloneable<RogueTournCurSceneInfo>, IBufferMessage
	{
		// Token: 0x17003398 RID: 13208
		// (get) Token: 0x0600B664 RID: 46692 RVA: 0x001EC94F File Offset: 0x001EAB4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournCurSceneInfo> Parser
		{
			get
			{
				return RogueTournCurSceneInfo._parser;
			}
		}

		// Token: 0x17003399 RID: 13209
		// (get) Token: 0x0600B665 RID: 46693 RVA: 0x001EC956 File Offset: 0x001EAB56
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournCurSceneInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700339A RID: 13210
		// (get) Token: 0x0600B666 RID: 46694 RVA: 0x001EC968 File Offset: 0x001EAB68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournCurSceneInfo.Descriptor;
			}
		}

		// Token: 0x0600B667 RID: 46695 RVA: 0x001EC96F File Offset: 0x001EAB6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurSceneInfo()
		{
		}

		// Token: 0x0600B668 RID: 46696 RVA: 0x001EC978 File Offset: 0x001EAB78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurSceneInfo(RogueTournCurSceneInfo other) : this()
		{
			this.rotateInfo_ = ((other.rotateInfo_ != null) ? other.rotateInfo_.Clone() : null);
			this.scene_ = ((other.scene_ != null) ? other.scene_.Clone() : null);
			this.lineup_ = ((other.lineup_ != null) ? other.lineup_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B669 RID: 46697 RVA: 0x001EC9F0 File Offset: 0x001EABF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurSceneInfo Clone()
		{
			return new RogueTournCurSceneInfo(this);
		}

		// Token: 0x1700339B RID: 13211
		// (get) Token: 0x0600B66A RID: 46698 RVA: 0x001EC9F8 File Offset: 0x001EABF8
		// (set) Token: 0x0600B66B RID: 46699 RVA: 0x001ECA00 File Offset: 0x001EAC00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMapRotateInfo RotateInfo
		{
			get
			{
				return this.rotateInfo_;
			}
			set
			{
				this.rotateInfo_ = value;
			}
		}

		// Token: 0x1700339C RID: 13212
		// (get) Token: 0x0600B66C RID: 46700 RVA: 0x001ECA09 File Offset: 0x001EAC09
		// (set) Token: 0x0600B66D RID: 46701 RVA: 0x001ECA11 File Offset: 0x001EAC11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneInfo Scene
		{
			get
			{
				return this.scene_;
			}
			set
			{
				this.scene_ = value;
			}
		}

		// Token: 0x1700339D RID: 13213
		// (get) Token: 0x0600B66E RID: 46702 RVA: 0x001ECA1A File Offset: 0x001EAC1A
		// (set) Token: 0x0600B66F RID: 46703 RVA: 0x001ECA22 File Offset: 0x001EAC22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LineupInfo Lineup
		{
			get
			{
				return this.lineup_;
			}
			set
			{
				this.lineup_ = value;
			}
		}

		// Token: 0x0600B670 RID: 46704 RVA: 0x001ECA2B File Offset: 0x001EAC2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournCurSceneInfo);
		}

		// Token: 0x0600B671 RID: 46705 RVA: 0x001ECA3C File Offset: 0x001EAC3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournCurSceneInfo other)
		{
			return other != null && (other == this || (object.Equals(this.RotateInfo, other.RotateInfo) && object.Equals(this.Scene, other.Scene) && object.Equals(this.Lineup, other.Lineup) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B672 RID: 46706 RVA: 0x001ECAA4 File Offset: 0x001EACA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rotateInfo_ != null)
			{
				num ^= this.RotateInfo.GetHashCode();
			}
			if (this.scene_ != null)
			{
				num ^= this.Scene.GetHashCode();
			}
			if (this.lineup_ != null)
			{
				num ^= this.Lineup.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B673 RID: 46707 RVA: 0x001ECB0C File Offset: 0x001EAD0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B674 RID: 46708 RVA: 0x001ECB14 File Offset: 0x001EAD14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B675 RID: 46709 RVA: 0x001ECB20 File Offset: 0x001EAD20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rotateInfo_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.RotateInfo);
			}
			if (this.lineup_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.Lineup);
			}
			if (this.scene_ != null)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.Scene);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B676 RID: 46710 RVA: 0x001ECB98 File Offset: 0x001EAD98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rotateInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RotateInfo);
			}
			if (this.scene_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Scene);
			}
			if (this.lineup_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Lineup);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B677 RID: 46711 RVA: 0x001ECC08 File Offset: 0x001EAE08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournCurSceneInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rotateInfo_ != null)
			{
				if (this.rotateInfo_ == null)
				{
					this.RotateInfo = new RogueMapRotateInfo();
				}
				this.RotateInfo.MergeFrom(other.RotateInfo);
			}
			if (other.scene_ != null)
			{
				if (this.scene_ == null)
				{
					this.Scene = new SceneInfo();
				}
				this.Scene.MergeFrom(other.Scene);
			}
			if (other.lineup_ != null)
			{
				if (this.lineup_ == null)
				{
					this.Lineup = new LineupInfo();
				}
				this.Lineup.MergeFrom(other.Lineup);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B678 RID: 46712 RVA: 0x001ECCB4 File Offset: 0x001EAEB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B679 RID: 46713 RVA: 0x001ECCC0 File Offset: 0x001EAEC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 90U)
					{
						if (num != 98U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.scene_ == null)
							{
								this.Scene = new SceneInfo();
							}
							input.ReadMessage(this.Scene);
						}
					}
					else
					{
						if (this.lineup_ == null)
						{
							this.Lineup = new LineupInfo();
						}
						input.ReadMessage(this.Lineup);
					}
				}
				else
				{
					if (this.rotateInfo_ == null)
					{
						this.RotateInfo = new RogueMapRotateInfo();
					}
					input.ReadMessage(this.RotateInfo);
				}
			}
		}

		// Token: 0x040049BD RID: 18877
		private static readonly MessageParser<RogueTournCurSceneInfo> _parser = new MessageParser<RogueTournCurSceneInfo>(() => new RogueTournCurSceneInfo());

		// Token: 0x040049BE RID: 18878
		private UnknownFieldSet _unknownFields;

		// Token: 0x040049BF RID: 18879
		public const int RotateInfoFieldNumber = 3;

		// Token: 0x040049C0 RID: 18880
		private RogueMapRotateInfo rotateInfo_;

		// Token: 0x040049C1 RID: 18881
		public const int SceneFieldNumber = 12;

		// Token: 0x040049C2 RID: 18882
		private SceneInfo scene_;

		// Token: 0x040049C3 RID: 18883
		public const int LineupFieldNumber = 11;

		// Token: 0x040049C4 RID: 18884
		private LineupInfo lineup_;
	}
}
